package com.lcj.mis.feign;

import com.lcj.common.util.Result;
import com.lcj.mis.controller.form.AcceptCommentAppealForm;
import com.lcj.mis.controller.form.HandleCommentAppealForm;
import com.lcj.mis.controller.form.SearchAppealContentForm;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "aoch-workflow")
public interface WorkflowServiceApi {

    @PostMapping("/comment/acceptCommentAppeal")
    public Result acceptCommentAppeal(AcceptCommentAppealForm form);

    @PostMapping("/comment/handleCommentAppeal")
    public Result handleCommentAppeal(HandleCommentAppealForm form);

    @PostMapping("/comment/searchAppealContent")
    public Result searchAppealContent(SearchAppealContentForm form);

}